using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MecRobGest.GUI
{
    public partial class GUIReciboRpt : Form
    {
        public GUIReciboRpt()
        {
            InitializeComponent();
        }

        public GUIReciboRpt(double dpvp, int iNumFactura, string empresa)
        {
            InitializeComponent();
            Recibo1.SetParameterValue("Valor",dpvp);
            MecRobGest.Logical.Conv theConv = new MecRobGest.Logical.Conv();
            string strpvp = theConv.enletras(dpvp.ToString());
            Recibo1.SetParameterValue("strValor",strpvp);
            Recibo1.SetParameterValue("iNumFactura", iNumFactura);
            Recibo1.SetParameterValue("NomEmpresa", empresa);
        }

        private void GUIReciboRpt_Load(object sender, EventArgs e)
        {

        }
    }
}